+2006-04-24 Alexander Larsson <alexl@redhat.com>
+
+ * configure.in:
+ Check for cairo-pdf.h.
+ Check for cairo-ps.h on non-win32.
+
2006-04-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkclipboard.h:
+2006-04-24 Alexander Larsson <alexl@redhat.com>
+
+ * configure.in:
+ Check for cairo-pdf.h.
+ Check for cairo-ps.h on non-win32.
+
2006-04-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkclipboard.h:
fi
AM_CONDITIONAL(HAVE_CUPS, test "x$CUPS_CONFIG" != "xno")
-
+gtk_save_cppflags="$CPPFLAGS"
+CPPFLAGS="$CPPFLAGS $GTK_DEP_CFLAGS"
+
+AC_CHECK_HEADER(cairo-pdf.h,,AC_MSG_ERROR([
+*** Can't find cairo-pdf.h. You must build Cairo with the pdf
+*** backend enabled.]))
+
+if test "$os_win32" != "yes"; then
+ AC_CHECK_HEADER(cairo-ps.h,,AC_MSG_ERROR([
+*** Can't find cairo-ps.h. You must build Cairo with the
+*** postscript backend enabled.]))
+fi
+
+CPPFLAGS="$gtk_save_cppflags"
+
+
################################################################
# Strip -export-dynamic from the link lines of various libraries
################################################################